using System.Buffers;
using SuperSocket.ProtoBase;

namespace SuperSocketProxy;

internal sealed class ProxyDataPipeFilter : PipelineFilterBase<SocketProxyPacket> 
{
    public override SocketProxyPacket Filter(ref SequenceReader<byte> reader)
    {
        return new SocketProxyDataPacket().Decode(ref reader);
    }
}
